package com.product.statemachine.common.spring.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.*;

/**
  * @author: caoxingming
  * @data: 2022/6/9 12:01 下午
  * @description: 事件状态机配置入口
  **/
@Data
@Getter
@Setter
@ConfigurationProperties(prefix = "machine")
@Configuration
public class StateMachineProperties {

    private Map<String,StateMachineConfigProperties> statemachine = new LinkedHashMap<>();

}
